package com.itheima.mapper;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.Map;

public interface OrderMapper {
    void createOrder(Order order);

    int findOrderIsExistByDateAndSetmealIdAndmemberId(@Param("memberId") Integer memberId, @Param("date") Date date, @Param("setmealId") String setmealId);

    Map findOrderById(@Param("id") String id);
}
